//
//  SViewController.swift
//  ADVIEW
//
//  Created by Burn on 2019/1/8.
//  Copyright © 2019 nmgxysh. All rights reserved.
//

import UIKit

class SViewController: UIViewController {

    fileprivate var adView  = BRScrollAdView.init(frame: CGRect(x: 0, y: 100, width: 414, height: 250)) { (imageView, url) in
        imageView.image = UIImage(named: String(format: "%@", url as CVarArg))
    }
    
    
    override func viewDidLoad() {
        super.viewDidLoad()

        adView.delegate = self
        
    }
}



extension SViewController : BRScrollAdViewDelegate{
    func adPicViewDidSelectedPicModel(pictrueModel: BRScrollAdViewProtocol) {
        
        
    }
    
    func adPicViewClickPicModel(pictrueModel: BRScrollAdViewProtocol) {
        
        
    }
    
}
